<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/commons/taglibs.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>审核模式管理</title>
<link href="../style/css_member.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../js/common.js"></script>
<script src="../js/artDialog.js?skin=gray"></script>
<script src="../js/artDialog.iframeTools.js"></script>
<script type="text/javascript" src="../js/jquery-1.3.2.js"></script>
<script type="text/javascript">

function changeAuditMode_painting(flag){
	$.ajax({
		type : "POST",
		url : "${ctx }/back/systemManagerAction!changeAuditMode_painting.do?auditMode="+ flag,
		timeout : 6000,
		async : false, //ajax同步
		success : function(data, textStatus) {
			if( data == '0000'){
				alert("设置作品审核模式成功。");
			}else{
				alert("设置作品审核模式失败。");
			}
		}
	});
}

function changeAuditMode_member(flag){
	
	$.ajax({
		type : "POST",
		url : "${ctx }/back/systemManagerAction!changeAuditMode_member.do?auditMode="+ flag,
		timeout : 6000,
		async : false, //ajax同步
		success : function(data, textStatus) {
			if( data == '0000'){
				alert("设置会员审核模式成功。");
			}else{
				alert("设置会员审核模式失败。");
			}
		}
	});
}

</script>
</head>
<body>
<!-- 页面头部  -->
<jsp:include page="/commons/head_member.jsp"></jsp:include>

<table width="960" cellpadding="0" cellspacing="0" class="tbl_border" align="center" height="400">
<tr><td style="padding-top: 50px;" valign="top">
<table border="0" cellpadding="0" align="center" cellspacing="5" width="60%" style="margin: 0 auto;font-family: 宋体; font-size: 12px;">
	<tr><td colspan="2" align="center" style="font-family: 宋体;font-size: 14px;font-weight: bold;color: blue">审核模式设置</td></tr>
	<tr><td width="50%" height="30" align="right">作品审核模式设置：</td>
		<td width="50%">
			<input type="radio" name="auditMode" value="true" onclick="changeAuditMode_painting(1)" <c:if test="${requestScope.audit_mode_painting==true }">checked="checked"</c:if>>
			自动&nbsp;&nbsp;
			<input type="radio" name="auditMode" value="false" onclick="changeAuditMode_painting(0)" <c:if test="${requestScope.audit_mode_painting== false }">checked="checked"</c:if>>手动
		</td>
	</tr>
	<tr><td height="30" align="right">会员审核模式设置：</td>
		<td>
			<input type="radio" name="auditMode_member" value="true" onclick="changeAuditMode_member(1)" <c:if test="${requestScope.audit_mode_member ==true }">checked="checked"</c:if>>
			自动&nbsp;&nbsp;
			<input type="radio" name="auditMode_member" value="false" onclick="changeAuditMode_member(0)" <c:if test="${requestScope.audit_mode_member == false }">checked="checked"</c:if>>手动
		</td>
	</tr>
</table>
</td></tr>
</table>

<jsp:include page="/commons/foot_member.jsp"></jsp:include>

</body>
</html>